import java.util.HashSet;

public class Player {
	
	private Card[] holeCards = new Card[2];
	private int stack;
	private String userName;
	
	public Player(int startingStack) {
		stack = startingStack;
	}

	public void setCards(Card one, Card two) {
		holeCards[0] = one;
		holeCards[1] = two;
	}

	public Card[] getCards() {
		return holeCards;
	}
	
	public String cardsStr(){
		return holeCards[0].toString() + holeCards[1].toString();
	}
	
	public void addChips(int chips) {
		stack += chips;
	}

	public void subtractChips(int chips) {
		stack -= chips;
	}
	
	
	public boolean hasNoChips() {
		return (stack == 0);
	}

	public int getStack() {
		return stack;
	}
}
